<template>
  <div>
    <!-- 二级路由视口 -->
    <router-view />
    <van-tabbar v-model="active">
      <van-tabbar-item icon="home-o" to='/layout/article'>最新</van-tabbar-item>
      <van-tabbar-item icon="star-o" to='/layout/collect'>收藏</van-tabbar-item>
      <van-tabbar-item icon="like-o" to='/layout/like'>喜欢</van-tabbar-item>
      <van-tabbar-item icon="manager-o" to='/layout/my'>我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: 'layout-page',

  data () {
    return {
      active: 0
    }
  },

  mounted () {},

  methods: {}
}
</script>

<style lang="scss" scoped>
</style>
